import React from 'react'
import { createRoot } from 'react-dom/client'
import '@/style.css'
import App from '@/components/App'
import { AppProvider } from '@/context/AppContext'
import '@/style/global.css'; // 全局样式

const container = document.getElementById('root')

const root = createRoot(container!)

root.render(
    <React.StrictMode>
        <AppProvider>
            <App />
        </AppProvider>
    </React.StrictMode>
)
